﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using MN.Framework.Common;

namespace EmailSender.Models
{
    public class EmailContext : BaseContext
    {
        public EmailContext()
            : base("EmailSenderConnection")
        {
        }

        public DbSet<EmailAddressModel> EmailAddress { get; set; }
        public DbSet<SmtpServerModel> SmtpServer { get; set; }
        public DbSet<SmtpCredentialModel> SmtpCredential { get; set; }
        public DbSet<EmailCategoryModel> EmailCategories { get; set; }
        public DbSet<CategoryModel> Categories { get; set; }
    }
}